package com.xpsoft.oa.model.hrm;


import com.google.gson.annotations.Expose;

/**
 * Candidate Base Java Bean, base class for the.oa.model, mapped directly to database table
 * 
 * Avoid changing this file if not necessary, will be overwritten. 
 *
 * TODO: add class/table comments
 */
public class Candidate extends com.xpsoft.core.model.BaseModel {

	@Expose
    protected Long id;  
	@Expose
	protected String name;
	@Expose
	protected java.util.Date birthday;
	@Expose
	protected String sex;
	@Expose
	protected String homeAddr;
	@Expose
	protected String liveAddr;
	@Expose
	protected String jobName;
	@Expose
	protected String workYear;
	@Expose
	protected java.util.Date interviewDate;
	@Expose
	protected String failReason;


	/**
	 * Default Empty Constructor for class Candidate
	 */
	public Candidate () {
		super();
	}
	
	/**
	 * Default Key Fields Constructor for class Candidate
	 */
	public Candidate (
		 Long in_id
        ) {
		this.setId(in_id);
    }

    

	/**
	 * 	 * @return Long
     * @hibernate.id column="id" type="java.lang.Long" generator-class="native"
	 */
	public Long getId() {
		return this.id;
	}
	
	/**
	 * Set the id
	 */	
	public void setId(Long aValue) {
		this.id = aValue;
	}	

	/**
	 * 姓名	 * @return String
	 * @hibernate.property column="name" type="java.lang.String" length="128" not-null="false" unique="false"
	 */
	public String getName() {
		return this.name;
	}
	
	/**
	 * Set the name
	 */	
	public void setName(String aValue) {
		this.name = aValue;
	}	

	/**
	 * 出生年月	 * @return java.util.Date
	 * @hibernate.property column="birthday" type="java.util.Date" length="19" not-null="false" unique="false"
	 */
	public java.util.Date getBirthday() {
		return this.birthday;
	}
	
	/**
	 * Set the birthday
	 */	
	public void setBirthday(java.util.Date aValue) {
		this.birthday = aValue;
	}	

	/**
	 * 性别	 * @return String
	 * @hibernate.property column="sex" type="java.lang.String" length="128" not-null="false" unique="false"
	 */
	public String getSex() {
		return this.sex;
	}
	
	/**
	 * Set the sex
	 */	
	public void setSex(String aValue) {
		this.sex = aValue;
	}	

	/**
	 * 出生地	 * @return String
	 * @hibernate.property column="homeAddr" type="java.lang.String" length="128" not-null="false" unique="false"
	 */
	public String getHomeAddr() {
		return this.homeAddr;
	}
	
	/**
	 * Set the homeAddr
	 */	
	public void setHomeAddr(String aValue) {
		this.homeAddr = aValue;
	}	

	/**
	 * 居住地	 * @return String
	 * @hibernate.property column="liveAddr" type="java.lang.String" length="128" not-null="false" unique="false"
	 */
	public String getLiveAddr() {
		return this.liveAddr;
	}
	
	/**
	 * Set the liveAddr
	 */	
	public void setLiveAddr(String aValue) {
		this.liveAddr = aValue;
	}	

	/**
	 * 招聘岗位	 * @return String
	 * @hibernate.property column="jobName" type="java.lang.String" length="128" not-null="false" unique="false"
	 */
	public String getJobName() {
		return this.jobName;
	}
	
	/**
	 * Set the jobName
	 */	
	public void setJobName(String aValue) {
		this.jobName = aValue;
	}	

	/**
	 * 工作年限	 * @return String
	 * @hibernate.property column="workYear" type="java.lang.String" length="128" not-null="false" unique="false"
	 */
	public String getWorkYear() {
		return this.workYear;
	}
	
	/**
	 * Set the workYear
	 */	
	public void setWorkYear(String aValue) {
		this.workYear = aValue;
	}	

	/**
	 * 应聘时间	 * @return java.util.Date
	 * @hibernate.property column="interviewDate" type="java.util.Date" length="19" not-null="false" unique="false"
	 */
	public java.util.Date getInterviewDate() {
		return this.interviewDate;
	}
	
	/**
	 * Set the interviewDate
	 */	
	public void setInterviewDate(java.util.Date aValue) {
		this.interviewDate = aValue;
	}	

	/**
	 * 未录取原因	 * @return String
	 * @hibernate.property column="failReason" type="java.lang.String" length="65535" not-null="false" unique="false"
	 */
	public String getFailReason() {
		return this.failReason;
	}
	
	/**
	 * Set the failReason
	 */	
	public void setFailReason(String aValue) {
		this.failReason = aValue;
	}	

}
